<?php
 /*****************************************************************************
 * config.inc.php                                                             *
 * Last Modified: 2007-06-11                                                  *
 *                                                                            *
 * config.inc.php is used to store the values of the configuration variables  *
 * used throughout the BBG_Billing application. These values should be        *
 * modified to reflect the configuration of your host.                        *
 *                                                                            *
 * BBG_Billing, a PHP application using MySQL for creating and maintaining a  *
 * contacts and invoices database.                                            *
 *                                                                            *
 * @copyright Copyright (C) 2007, Bugs Bee Gone Computer Services             *
 * @owner     Daniel Barnett (Bugs Bee Gone Computer Services)                *
 * @author    Daniel Barnett <dbarnett@bugsbeegone.com>                       *
 * @website   http://www.bugsbeegone.com                                      *
 * @license   http://www.gnu.org/licenses/gpl.html GNU General Public License *
 * @package   BBG_Billing                                                     *
 * @name      config.inc.php                                                  *
 * @version   1.1.0                                                           *
 *                                                                            *
 * This file is part of the "BBG_Billing" PHP application.                    *
 *                                                                            *
 * BBG_Billing is free software; you can redistribute it and/or modify        *
 * it under the terms of the GNU General Public License as published by       *
 * the Free Software Foundation; either version 2 of the License, or          *
 * (at your option) any later version.                                        *
 *                                                                            *
 * BBG_Billing is distributed in the hope that it will be useful,             *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
 * GNU General Public License for more details.                               *
 *                                                                            *
 * You should have received a copy of the GNU General Public License          *
 * along with BBG_Billing; if not, write to the Free Software                 *
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *
 *****************************************************************************/
 

    // ********************************************************************************** //
    // ************* MODIFY THIS SECTION TO MATCH YOUR SERVER CONFIGURATION ************* //
    // ********************************************************************************** //

    // MySQL ACCESS SETTINGS
    define("DB_SERVER", "localhost");         // MySQL server path
    define("DB_USER", "");      // MySQL username
    define("DB_PASS", "");     // MySQL password
    define("DB_NAME", "");  // Database name


    // ********************************************************************************** //
    // ********************* DO NOT CHANGE ANYTHING BELOW THIS LINE ********************* //
    // ********************************************************************************** //

    // SOFTWARE VERSION
    define("VERSION", "1.1.0");

    // COPYRIGHT STATEMENT
    var $year = date("Y");
    var $copyright = "Copyright &copy; {$year}, <a href="http://www.bugsbeegone.com">Bugs Bee Gone</a>";

    // PAGE FOOTER
    function footer() {
        // Get the defined constants
        $const = get_defined_constants();

        $license_string = <<<LICENSE
        <br /><hr />

        <span style="font-family:arial; font-size:8pt; font-weight:normal; text-align:left;">BBG_Billing version {$const['VERSION']}, {$copyright}.<br />
        BBG_Billing comes with ABSOLUTELY NO WARRANTY; see the <a href="LICENSE.txt">license</a><br />
        for details. This is free software, and you are welcome to redistribute<br />
        it under certain conditions; see the <a href="LICENSE.txt">license</a> for details.<br />
        &bull; <a href="README.txt">README</a><br />
        &bull; <a href="CHANGELOG.txt">CHANGELOG</a><br />
        &bull; <a href="http://bbg-billing.googlecode.com/files/bbg_billing_{$const['VERSION']}.zip">Download BBG_Billing {$const['VERSION']}</a></span>
LICENSE;

        return $license_string;
    }
?>
